<?php
class WelcomeController extends CustomController{

	function init()
    {
		/* Create: $this->model->{name Model} */
    	$this->loadModel("Welcome");
        /* Set variable (title) for Templates */
    	$this->template->title = "Skeleton";
	}

	function indexAction()
    {
        $this->template->mySnipet = $this->view->snippet("Welcome");
        $this->view->name = "Jack";
	}
	
	function testAction()
    {
        echo 'Jméno:'.$this->param('name');
    }

    function rssAction()
    {
        $rss = $this->view->service('rss');
        $rss->header('Title','Descrtiption');
    }

}
?>